[Cuis] [github] Learning to use github....
Angel Java Lopez
ajlopez2000 at gmail.com
Sun Dec 30 13:40:59 CST 2012
You can create a directory package.
Then, from command line
git status
to see the changed files
git add .
to add all pending changed files to index (the pre-commit internal
directory of git)
git add -u
to remove deleted files from git index
then
git commit -m "The message"
I use the command line git (not the git bash), in Windows. There is a
git.cmd in the program files git install directory, and I added that
directory to my path, AFAIR
On Sun, Dec 30, 2012 at 4:18 PM, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> Hello
>
> I am still in the process of learning how to use github. I understand
> it allows for various kinds of setups and workflows.
>
> What I just did is
>
> 1) Installed git for Windows http://msysgit.github.com/
> 2) Used the 'git bash' command line interface. I think it is easier to
> use than the GUI in the end. The GUI is a bit confusing to me, whereas
> using the command line and following instructions like
> https://help.github.com/articles/fork-a-repo is straightforward
>
> 3) I followed the instructions to clone my repository
> https://github.com/hhzl/Cuis
>
> I had forked recently from
>
> https://github.com/jvuletich/Cuis
>
> Then I wanted to get the changes of Juan he did recently.
>
> So I did
>
> git remote add upstream https://github.com/jvuletich/Cuis.git
>
> git fetch upstream
>
> git merge upstream/master
>
>
> This gave me a local copy of the file
>
> ListOfCuisPackages.md
>
> German and I had made in the last days and which Juan had added in the
> meantime to his repository.
>
> The next thing I would like to figure out how to add a subdirectory
> 'packages' which is under the control of git and put external *.pck
> files I have tested there.
>
> Regards
> --Hannes
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20121230/12cea716/attachment-0002.html>
More information about the Cuis
mailing list