ACCOMPLISHED
git pull
: pull changes from the branch.git push
: push/upload changes from local to online(github)git push -u origin {branch-name}
: to push/upload changes from newly created branch to online(github)git checkout -b {branch-name}
: creates a new branch then checout on that branchgit branch
: to check your current branchgit branch {branch-name}
: create new branchgit status
check the modified filesgit add .
: add all files to gitgit commit -m "message here"
: commit changesgit checkout {branch-name}
: go to one branch to another branchgit checkout master
: go to master branchgit status
: should be no changes on master branch before pulling codesgit pull
: pull changes from github repo before doing anythinggit branch {new-branch-name}
git add .
add all modified branch on gitgit commit -m "message here"
commit the changes and add a brief description to your changessqaush and merge