Starting with Github

To start with github, you must create an account and then follow the steps on the official WebPage Please check if you have installed the git package on your laptop

empathy2As we have seen, we must install the package and then, set up our personal information:

$sudo dnf install git
$git config --global "YOUR NAME"
$git config -- global "YOUR MAIL"

Complete the name of the repository and the information related to it.        In my case I am setting as public, my first directory called my first_codes


Copy the link that github shows to clone in my terminal later:

Screen Shot 2015-06-20 at 8.39.28 PM

In this case I am creating a gnome directory and then doing the clone

[yulytas@gnome Documents]$ mkdir gnome
[yulytas@gnome Documents]$ cd gnome
[yulytas@gnome gnome]$ git clone
Cloning into 'first_codes'...
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), done.
Checking connectivity... done.

Then, I have to get inside the directory where I am going to upload

[yulytas@gnome gnome]$ cd first_codes/

Copy the code from your local position to the new directory to publish

[yulytas@gnome first_codes]$ mv /home/yulytas/Documents/ .
[yulytas@gnome first_codes]$ ls LICENSE

Now it is time to do the git add, git commit and git push it 🙂

[yulytas@gnome first_codes]$ git add 
[yulytas@gnome first_codes]$ git commit -a -m "First code in GTK with Python"
[master 798a625] First code in GTK with Python
 1 file changed, 19 insertions(+)
 create mode 100644
[yulytas@gnome first_codes]$ git push origin master
Counting objects: 3, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 514 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
 647f865..798a625 master -> master
[yulytas@gnome first_codes]$

Troubleshooting:Screenshot from 2017-10-22 12-00-23

About Julita Inca

Ingeniero de Sistemas UNAC, Magíster en Ciencias de la Computación PUCP, Magíster en Computación de Alto Rendimiento de la Universidad de Edimburgo, OPW GNOME 2011, Miembro de la GNOME Foundation desde el 2012, Embajadora Fedora Perú desde el 2012, ganadora del scholarship of the Linux Foundation 2012, experiencia como Admin Linux en GMD y Especialista IT en IBM, con certificaciones RHCE, RHCSA, AIX 6.1, AIX 7 Administrator e ITILv3. Experiencia académica en universidades como PUCP, USIL y UNI. Leader of LinuXatUNI Community, HPC Software Specialist at UKAEA, and reviewer of the Technological Magazine of ESPOL-RTE, and volunteering Linux training for MINSA Peru... a simple mortal, just like you!
This entry was posted in GNOME, τεχνολογια :: Technology and tagged , , , . Bookmark the permalink.

1 Response to Starting with Github

  1. Pingback: Links 24/6/2015: Meizu MX4, Red Hat and Samsung Partner, Women in Open Source Awards | Techrights

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s