Differences between revisions 1 and 2
Revision 1 as of 2020-08-24 17:40:53
Size: 830
Comment:
Revision 2 as of 2020-08-24 18:03:44
Size: 981
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
{{{
% git config --global core.editor emacs
}}}

Now, when you edit a message in Git, Emacs starts, regardless of your shell's default editor.

How to use git and GitHub

GitHub is the software platform. We used GitHub and shared the code.

Create an account for GitHub

Initial settings of git

Register user name and address name on the terminal.Type any name and address for AnyName and AnyAddress.

% git config --global user.name AnyName
% git config --global user.email AnyAddress

% git config --global core.editor emacs

Now, when you edit a message in Git, Emacs starts, regardless of your shell's default editor.

If you want to check it, type the following command.

% git config --list

Clone the repository

Get source code from an already existing remote repository.

To do so, type the following command.Type

% git clone HTTPS

KAGRA/Subgroups/MIF/Simulation/KamikokaActivity20200817/how_to_use_git_and_github (last edited 2020-08-25 10:04:28 by chiaki.hirose)