-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This is the home page of the auto-gnuplot wiki!
Here are some tricks for your own project:
After git clone
, the directory name of the root project is automatically set to auto-gnuplot
. This name is free to change for your own project, and does not necessarily keep pace with the name(s) of remote repositories. That is, multiple remote repositories are supported by Git.
After this project is cloned, a default remote link called origin
is set to https://github.com/shao-xy/auto-gnuplot
. However, it makes those who prefer managing scripts with Git uncomfortable. The problem might be solved in the future by installing binaries to system-wide PATH
. Nowadays the best way is to use multiple remote URLs or just reset the origin
to your own.
Use the following command to USE MULTIPLE remote URLs:
$ git remote rename origin auto
$ git remote add origin <your-url>
(auto
is an arbitrary word here.)
Sync (Merge/Rebase) with this upstream repository in the future:
$ git fetch auto
$ git merge auto/master
or
$ git fetch auto
$ git rebase auto/master
Replace the URL of origin
with your own URL:
$ git remote set-url origin <your-url>
Delete origin
:
$ git remote remove origin
- Make executables system-wide.
- Support whether or not to create symbolic links in the output directory.
- Change default names of
src
andoutput
with options.