Skip to content

Instantly share code, notes, and snippets.

@devded
Last active November 23, 2020 21:26
Show Gist options
  • Save devded/c88c146854441efc22296c46ddc57513 to your computer and use it in GitHub Desktop.
Save devded/c88c146854441efc22296c46ddc57513 to your computer and use it in GitHub Desktop.
git init Initialize a local Git repository
git clone ssh://[email protected]/[username]/[repository-name].git Create a local copy of a remote repository
git status Check status
git add [file-name.txt] Add a file to the staging area
git add -A Add all new and changed files to the staging area
git commit -m "[commit message]" Commit changes
git rm -r [file-name.txt] Remove a file (or folder)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment