Git Cheatsheet

I needed this, I was like every hour searching in Google one of the following commands… and having this page cached looks more efficient. Commands git clone URL folder This clones a repo to a given folder. If you don’t write the folder, it will try to clone it in a folder whose name be the repo name. If there is already a folder with that name, the clone process will fail. git init It creates a git structure in the current folder git add file It stages the given file. If you put a dot instead, it stages everything. git commit -m “Your commit message” It creates a commit with… Read More

Continue Reading