cd |
Change directory |
echo |
A Linux command that prints a string of text in the command-line |
git add <filename or path> |
Adds a new or changed file to the staging area |
git commit -m "A message" |
Saves changes to the local repository with an explanatory message |
git init |
Initialize a new local Git repository |
git push |
Uploads local repository content to a remote repository |
git remote add origin git@github.com:username/example_repo.git |
Creates a new remote called origin located at the URL git@github.com:username/example_repo.git . origin is a standard convention used as a shorthand name for the repository's URL git@github.com:username/example_repo.git |
git status |
Displays the current state of the working directory and staging area. Any staged/unstaged changes or tracked/untracked files will be shown |
git --version |
Checks the current Git version installed on your device |
mkdir <directory_name here> |
Creates new directories or folder in a file system |
touch <filename here> |
Creates new empty files in a file system |