Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
contributing-to-batocera [2022/01/21 07:57] – [Making and testing the modifications] added link to coding rules, converted to bullet point list ataricontributing-to-batocera [2022/01/30 04:26] (current) – [Making changes in the future] a bit less contradictory phrasing atari
Line 101: Line 101:
 It is important to distinguish between remote and local repositories. Right now, your account has a remote repository that is a fork (copy) of Batocera.linux. We need to clone (download) this origin remote repository to your local computer to be able to make local edits to it. It is important to distinguish between remote and local repositories. Right now, your account has a remote repository that is a fork (copy) of Batocera.linux. We need to clone (download) this origin remote repository to your local computer to be able to make local edits to it.
  
-The easiest way is to open a command line, navigate to the directory you would like to save the origin repository to and run ''%%git clone https://github.com/<your Github username>/batocera.linux%%''.+The easiest way is to open a command line, navigate to the directory you would like to save the origin repository to and run
 + 
 +<code bash> 
 +git clone https://github.com/<your Github username>/batocera.linux 
 +</code>
  
 Once done (this may take a while, depending on your internet speed), run the following: Once done (this may take a while, depending on your internet speed), run the following:
Line 109: Line 113:
 git remote add upstream https://github.com/batocera-linux/batocera.linux.git git remote add upstream https://github.com/batocera-linux/batocera.linux.git
 git remote set-url upstream https://github.com/batocera-linux/batocera.linux.git git remote set-url upstream https://github.com/batocera-linux/batocera.linux.git
-git remote set-url origin https://github.com/YOURNAME/batocera.linux+git remote set-url origin https://github.com/<your Github username>/batocera.linux
 </code> </code>
  
-where ''YOURNAME'' is your Github username.+where ''<your Github username>'' is your Github username (remove the "<>" characters).
  
 This will config the local repository to be recognized as a fork of upstream (the original remote repository). This makes it easier to stay "in sync" with future changes made to upstream. This will config the local repository to be recognized as a fork of upstream (the original remote repository). This makes it easier to stay "in sync" with future changes made to upstream.
Line 196: Line 200:
  
 <WRAP center round info> <WRAP center round info>
-It is not recommended to use ''%%git pull upstream master%%''. [[https://longair.net/blog/2009/04/16/git-fetch-and-merge/|Here's a good blog post about it.]]+Performing fetches and merges manually instead of relying on aliases can be quite powerful. [[https://longair.net/blog/2009/04/16/git-fetch-and-merge/|Here's a good blog post about it.]]
 </WRAP> </WRAP>
  
  • contributing-to-batocera.1642751823.txt.gz
  • Last modified: 4 years ago
  • by atari