My Git/Github Cheatsheet
1 minute read
- git init
</b> - Make an empty directory into a Git repository - git clone
</b> - Basically download the repository - git config user. name username - set the username of the repository
- git config user.email user email - set the email of the user of the repository
- git status - shows which files have been modified/added and which ones of those are in the staging area and which ones in untracked area.
- git add - adds the files to the staging area
- git commit -m “message” - commits the repository with the current files in the staging area
- git log - shows the commit history
I feedback.
Let me know what you think of this article on twitter @ameyanator or leave a comment below!
Let me know what you think of this article on twitter @ameyanator or leave a comment below!
comments powered by Disqus