Created
January 21, 2020 13:37
-
-
Save bipon68/1a126fce60c1a365d02fc6c8b516dcb5 to your computer and use it in GitHub Desktop.
Git Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/arif2009/GIT-HELP-GUIDE | |
How to Add a New Remote to your Git Repo | |
https://articles.assembla.com/using-git/how-to-add-a-new-remote-to-your-git-repo | |
https://github.com/Kunena/Kunena-Forum/wiki/Create-a-new-branch-with-git-and-manage-branches | |
Discard all local changes to all files permanently > git reset --hard | |
git log --oneline --decorate --graph | |
git rebase master | |
git merge --ff-only ATR-239-report-view-button-cuts-off | |
git merge --ff-only ATR-248 | |
git push -f origin ATR-248 | |
# git stash // data store | |
# git stash pop // data stage all | |
git commit -m “task name” | |
git commit add . | |
git status | |
git push origin tv3 | |
git checkout dev [branch switch] | |
git checkout -b dev [create branch dev name] | |
Git stash (remove recent task) | |
git blame <filename> [You can use below command to see who have changed what in a file.] | |
More: | |
git reset HEAD. [recover commit file] | |
vim .idea | |
cat .gitignore [ file read ] | |
patient | |
npm run watch | |
npm run debug | |
#box front end | |
npm run styles | |
git log // git log status | |
git log -1 // 1 commit show | |
git log --oneline --decorate --graph // git log status showing one line | |
git fetch origin // showing origin | |
git reset HEAD~1 // reset immediet last branch | |
git diff // git file change showing | |
git stash apply stash@{0} // git stash file name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment