A test repo
Steps involved
- Type "pwd" -> we get a working directory.
- Type "cd" to get the working directoty to the home directory
- Type "ls" to list all the files in that working directory
- Type "cd Any_File_name" To chose a particular folder.
- Type "git status" for checking the status of the file if they're staged or committed.
- Type "git add ." It adds all the files from the working directory to your staging area.
- Type "git commit -m " Any comment " to commit all the changes or activity in the file in the staged area
- Type " git remote add origin git@github.com:YOUR_USER_NAME/THE_SPECIFIC_FOLDER_TO_PUSH_CHANGES_OR_UPLOAD.git" -> To specify which github account you want to push changes
- Type "git remote -vv" To check which repository and folder you are pushing your file to
- Type "git push -u origin master" To push changes