Last active
June 25, 2021 02:49
-
-
Save onedayitwillmake/dd9558c3a80a6d94b549c280ab43303a to your computer and use it in GitHub Desktop.
basic git commands
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
git init # create a git repo | |
* git status # show me status of all my stuff | |
* git add . # Add all the files in this folder to my change list | |
* git commit -m "First commit!" # | |
git log # shows you your commits | |
clear # TERMINAL: clear the terminal so you can think | |
git checkout file # reset the file | |
git reset --hard # resets | |
* git checkout $BRANCH | |
git branch # Show me my branches | |
* git merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment