Last active
June 28, 2017 17:39
-
-
Save GitVishwa/f0ec9a4ff4c56e2eb38300ea6a55ef39 to your computer and use it in GitHub Desktop.
Push files to a specific repository through linux terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Be in the directory(Repository in Github) where files/directories needs to be pushed.Then enter the command | |
$git add . | |
#Get the status of the files/directories needs to be pushed. | |
$git status | |
#Now commit the changes into the repository. | |
$git commit -m "Message" | |
#To Push the changes, enter the following command and enter the credentials. | |
$git push origin master -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment