-
Notifications
You must be signed in to change notification settings - Fork 0
Git
Dima Shramko edited this page Nov 16, 2016
·
8 revisions
git checkout -f - remove local changes
git clean -fd -n - remove untracked files
git checkout -b modify-readme - make new branch
git branch - look all branches
git branch -m newname - rename branch
git branch -d name - delete local branch
git push origin --delete name - delete remote branch
git add -A - add all files
git commit -m "message" - commit
git checkout master - move to master branch
git git merge modify-readme - merge modify-readme with master branch
git branch -d modify-readme - delete branch modify-readme
git push