LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2018, 05:22 PM   #1
Assi002
LQ Newbie
 
Registered: Aug 2018
Posts: 11

Rep: Reputation: Disabled
Exclamation 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.
 
Old 08-10-2018, 07:35 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,153

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Code:
git commit
git push
git help
man git

Last edited by Keith Hedger; 08-10-2018 at 07:37 PM. Reason: too many pastes
 
Old 08-10-2018, 08:38 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 08-11-2018, 04:48 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Assi002 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems when trying to install Bodhi linux and Lubuntu on a computer with windows xp Felixbn Linux - Newbie 8 07-29-2018 12:23 PM
Lubuntu - Software Updater fails to download repository info Darkmaster006 Ubuntu 3 03-04-2018 02:34 AM
Ubuntu/Lubuntu 12.10 or Linux Mint 14 XFCE for an older computer? Altiris Linux - Newbie 4 03-27-2013 02:21 PM
LXer: New Blog Post : GitHub Repository For Pygame Examples LXer Syndicated Linux News 0 12-17-2011 08:41 PM
[SOLVED] Update Lubuntu from CD Zssfssz Ubuntu 1 11-24-2011 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration