LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I update a repository in github from my computer?(Lubuntu) (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-update-a-repository-in-github-from-my-computer-lubuntu-4175636125/)

Assi002 08-10-2018 05:22 PM

How can I update a repository in github from my computer?(Lubuntu)
 
After cloning the repository, I have made some modifications on my local machine, how can I update the changes I have made onto Github.

Keith Hedger 08-10-2018 07:35 PM

Code:

git commit
git push
git help
man git


John VV 08-10-2018 08:38 PM

this is what i do for my fork of Celestia


in your copy of the git repo
Code:

git pull


---move new folder over ,as in copy/paste your edits into the folder


git add .

git commit -m update

---user name : the email address you set up with
---pasword : your password

git push

see the man page for git

ondoho 08-11-2018 04:48 AM

Quote:

Originally Posted by Assi002 (Post 5890346)
After cloning the repository, I have made some modifications on my local machine, how can I update the changes I have made onto Github.

do you have permission to submit changes to the repo?

in any case github.com has excellent documentation on all git-related topics.


All times are GMT -5. The time now is 07:02 PM.