[ubuntu-za] trying to create a working git repository in my Ubuntu
Leon Gert Marincowitz
lmarincowitz at gmail.com
Fri Apr 4 12:05:46 UTC 2014
You might like to attend this Git Hub session tomorrow if in Joburg
http://www.meetup.com/CodedInBraam/events/172732782/
On 4 April 2014 14:00, <ubuntu-za-request at lists.ubuntu.com> wrote:
> Send ubuntu-za mailing list submissions to
> ubuntu-za at lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
> or, via email, send a message with subject or body 'help' to
> ubuntu-za-request at lists.ubuntu.com
>
> You can reach the person managing the list at
> ubuntu-za-owner at lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ubuntu-za digest..."
>
>
> Today's Topics:
>
> 1. trying to create a working git repository in my Ubuntu Linux
> (nico.michael at arduino.org.za)
> 2. Re: trying to create a working git repository in my Ubuntu
> Linux (Christopher Schoonbee)
> 3. Re: trying to create a working git repository in my Ubuntu
> Linux (Bruce Pieterse)
> 4. Re: trying to create a working git repository in my Ubuntu
> Linux (Frank Kusel)
> 5. Network Files - Maties Ubuntu (Hilton Gibson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 03 Apr 2014 17:19:57 +0200
> From: nico.michael at arduino.org.za
> To: ubuntu-za at lists.ubuntu.com
> Subject: [ubuntu-za] trying to create a working git repository in my
> Ubuntu Linux
> Message-ID: <20140403171957.99192h6miu3jq8f1 at webmail.arduino.org.za>
> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
> format="flowed"
>
> Hi there
>
> I have used the following steps to create a repository
> add a dummy text file so i can send it to my Git server
>
> cd /home/nico/git
> mkdir MY_JAVA_PROJECT
> cd MY_JAVA_PROJECT/
> git init
> touch deleteme.txt
> git add .
> Got error added this to fix it :
> git config --global user.name "nickm"
> git config --global user.email "nico.michael at arduino.org.za"
>
> git commit -m "initial commit"
>
>
> local/path/to/local/project> git checkout mybranch
> got Error : error: pathspec 'mybranch' did not match any file(s) known to
> git.
>
> Please advise
>
> regards
> Nico
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 03 Apr 2014 18:40:37 +0200
> From: Christopher Schoonbee <cmschoonbee at mweb.co.za>
> To: Ubuntu South African Local Community <ubuntu-za at lists.ubuntu.com>
> Subject: Re: [ubuntu-za] trying to create a working git repository in
> my Ubuntu Linux
> Message-ID: <533D8F05.5020506 at mweb.co.za>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 03/04/2014 17:19, nico.michael at arduino.org.za wrote:
> > Hi there
> >
> > I have used the following steps to create a repository
> > add a dummy text file so i can send it to my Git server
> >
> > cd /home/nico/git
> > mkdir MY_JAVA_PROJECT
> > cd MY_JAVA_PROJECT/
> > git init
> > touch deleteme.txt
> > git add .
> > Got error added this to fix it :
> > git config --global user.name "nickm"
> > git config --global user.email "nico.michael at arduino.org.za"
> >
> > git commit -m "initial commit"
> >
> >
> > local/path/to/local/project> git checkout mybranch
> > got Error : error: pathspec 'mybranch' did not match any file(s) known
> > to git.
> >
> > Please advise
> >
> > regards
> > Nico
> >
> I assume `mybranch` has not been created yet. In that case you need to
> use:
> > git checkout -b mybranch
>
> Hope that helps,
> Chris
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 03 Apr 2014 18:42:58 +0200
> From: Bruce Pieterse <dev at otq.za.net>
> To: ubuntu-za at lists.ubuntu.com
> Subject: Re: [ubuntu-za] trying to create a working git repository in
> my Ubuntu Linux
> Message-ID: <533D8F92.6020606 at otq.za.net>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> On 03/04/2014 17:19, nico.michael at arduino.org.za wrote:
> > Hi there
> >
> > I have used the following steps to create a repository
> > add a dummy text file so i can send it to my Git server
> >
> > cd /home/nico/git
> > mkdir MY_JAVA_PROJECT
> > cd MY_JAVA_PROJECT/
> > git init
> > touch deleteme.txt
> > git add .
> > Got error added this to fix it :
> > git config --global user.name "nickm"
> > git config --global user.email "nico.michael at arduino.org.za"
> >
> > git commit -m "initial commit"
> >
> >
> > local/path/to/local/project> git checkout mybranch
> > got Error : error: pathspec 'mybranch' did not match any file(s) known
> > to git.
> >
> > Please advise
> >
> > regards
> > Nico
> >
> Hi Nico,
>
> git checkout mybranch checks out a local branch if it exists. In this
> case mybranch doesn't.
>
> If you need to push to a server you need to add a remote:
>
> git remote add origin <gituser>@<gitserver>:<path/to/repo> i.e.
> git at git.myserver.co.za:project.git
>
> Once that is done you can then push your untracked branch, master as
> this is where all commits go if it is a new repository, to the server with:
>
> git push origin -u master
>
> This is optional and is default for user.name you should actually set it
> like:
>
> git config --global user.name "Nico Michael"
>
> So when you do git log it will come up with
>
> commit 4a02eca82dfbfb2008ea59c128bd6cb66555aa88
> Author: Nice Michael <nico.michael at arduino.org.za>
> Date: Thu Apr 3 18:30:16 2014 +0200
>
> Summary of changes
>
> * Change 1
> * Change 2
>
> Resolves issue #12345
>
> --
> All the best,
>
> Bruce
>
> FSF Member 10674 / The FSF is a charity with a worldwide mission to
> advance software freedom / Join the Free Software Foundation:
> http://www.fsf.org/register_form?referrer=10674
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-za/attachments/20140403/bc769955/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Fri, 04 Apr 2014 08:34:43 +0200
> From: Frank Kusel <frankk at ansys.co.za>
> To: ubuntu-za at lists.ubuntu.com
> Subject: Re: [ubuntu-za] trying to create a working git repository in
> my Ubuntu Linux
> Message-ID: <533E5283.8070506 at ansys.co.za>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> You might want to read this manual: http://goo.gl/zgmnk
>
> It should answer a lot of your questions.
>
> On 2014/04/03 05:19 PM, nico.michael at arduino.org.za wrote:
> > Hi there
> >
> > I have used the following steps to create a repository
> > add a dummy text file so i can send it to my Git server
> >
> > cd /home/nico/git
> > mkdir MY_JAVA_PROJECT
> > cd MY_JAVA_PROJECT/
> > git init
> > touch deleteme.txt
> > git add .
> > Got error added this to fix it :
> > git config --global user.name "nickm"
> > git config --global user.email "nico.michael at arduino.org.za"
> >
> > git commit -m "initial commit"
> >
> >
> > local/path/to/local/project> git checkout mybranch
> > got Error : error: pathspec 'mybranch' did not match any file(s) known
> > to git.
> >
> > Please advise
> >
> > regards
> > Nico
> >
>
>
> --
>
> Frank K?sel
> Senior Software Engineer
>
> Phone: +27 12 749 1837
> Mobile: +27 82 824 3524
>
> ------------------------------------------------------------------------
> ANSYS Logo ANSYS Limited
> ansys.co.za <http://www.ansys.co.za> Reg. No. 1987/001222/06
>
> Phone: +27 12 648 9600 Fax: +27 12 665 2767
> 140 Bauhinia Street, Highveld Technopark, Centurion
> P.O.Box 95361, Waterkloof, 0145, South Africa
>
> This message (and attachments) is subject to restrictions and a
> disclaimer. Please refer to ansys.co.za
> <http://www.ansys.co.za/?page_id=136> or e-mail
> <mailto:geninfo at ansys.co.za> for full details.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-za/attachments/20140404/40cff61f/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: ansyslogo.png
> Type: image/png
> Size: 3218 bytes
> Desc: not available
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-za/attachments/20140404/40cff61f/attachment-0001.png
> >
>
> ------------------------------
>
> Message: 5
> Date: Fri, 4 Apr 2014 12:45:07 +0200
> From: Hilton Gibson <hilton.gibson at gmail.com>
> To: "sulug at sympa.sun.ac.za" <sulug at sympa.sun.ac.za>, Ubuntu South
> African Local Community <ubuntu-za at lists.ubuntu.com>
> Subject: [ubuntu-za] Network Files - Maties Ubuntu
> Message-ID:
> <CAAV1Wv7O-oS76cD=
> BDpCXzS0R+WWZGwAWj-o+Vk56QHuBwB2DA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> http://ubuntu.sun.ac.za/wiki/index.php/Network_Files
>
> ?Hi All
>
> Since Ubuntu One is being shut down in August, I have added details of
> setting up Google Drive instead on this wiki page.
>
> Enjoy.
>
> hg
> ?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-za/attachments/20140404/703c76dc/attachment-0001.html
> >
>
> ------------------------------
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
>
> End of ubuntu-za Digest, Vol 103, Issue 4
> *****************************************
>
--
Kind Regards
Leon G. Marincowitz
*Thinker & Doer*
C - +27 83 982 63 15
E - lmarincowitz at gmail.com
Twitter <http://@LGMarincowitz>
Google Plus <http://Google.com/+LeonGertMarincowitz>
LinkedIn <http://za.linkedin.com/pub/leon-marincowitz/47/865/514/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20140404/d0d8976a/attachment.html>
More information about the ubuntu-za
mailing list