Git Commands

Download git
https://git-scm.com/

if you want to add your project to bitbucket or github. you can use the following commands

Step 1:

Right Click-> Git Bash Here

Step 2:
Type git init (For initializing git).

Step 3:
Type git add -A (Get all files in the staging area).

Step 4:
Type git commit -m "First Commit"(Commit Changes)

Step 5:
Type git remote add origin https://..bitbucket.org/../ABC.git (Your repo URL)

Step 6:
Type git push -f origin master(your branch name)

Comments

Popular posts from this blog

Flutter ListView Search

Flutter Navigation Drawer Example

Swipe RecyclerView using AndroidSwipeLayout