Basic Introduction to Git and Github. Covers the basic work flow of init, clone, add, commit and push. Other commands like git remote, git pull etc are briefly touched.
This document provides an introduction to Git and GitHub. It outlines the basics of Git including initializing repositories, tracking changes, branching, merging, and resolving conflicts. It also covers GitHub concepts such as cloning repositories from GitHub to a local machine and pushing/pulling changes between local and remote repositories. The document explains how to collaborate on projects hosted on GitHub using Git.
This document provides an overview of Git and GitHub. It discusses what Git is, how it works by storing content in trees and commits, and its advantages like efficiency and handling non-linear development. It also covers installing and configuring Git, including common settings. Key Git workflows like staging changes and committing are demonstrated. The document explains Git's three-tree model and inspection tools. It emphasizes the importance of branching in Git and how branches are cheap to create. Merging branches is shown to be powerful in Git.
This document provides an outline for a course on learning Git version control. The course covers getting Git setup, the basic concepts and workflow of Git, branching and merging, resolving conflicts, working with remote repositories, and various Git commands. The document lists several modules that will be covered, including getting started, everyday Git usage, branching, merging and rebasing, additional tools and concepts, and advice on applying the skills learned. The goal is to teach participants how to install and use Git for version control on individual, local, and distributed projects.
To introduce and motivate some best practice around version control and Git.
Resources:
https://en.wikipedia.org/wiki/Version_control
https://git-scm.com/
https://try.github.io
http://rogerdudler.github.io/git-guide/
http://ohshitgit.com/
https://www.atlassian.com/git/tutorials
https://www.datacamp.com/courses/introduction-to-git-for-data-science
Introduction to Gitlab | Gitlab 101 | Training SessionAnwarul Islam
I actually described in this slide how to use Gitlab with git. I explained what is git, push, pull, clone, commit etc. so, you can use this slide to learn or tech someone.
Introduction to Git & GitHub.
Agenda:
- What’s a Version Control System?
- What the heck is Git?
- Some Git commands
- What’s about GitHub?
- Git in Action!
This document summarizes a presentation given at DrupalCamp in Athens on December 12, 2010 about Git and GitHub. The presentation introduced Git as a distributed version control system designed for speed and efficiency. It explained some of Git's core concepts like snapshots, branches, merging, and its distributed nature. It also promoted GitHub as a social coding platform that improves collaboration and code hosting for both open source and private projects. The presentation aimed to help attendees learn Git for their own benefit and prepare for Drupal moving to GitHub.
At the end of this session, you will be able to:
* Install git
* Create a local git repository
* Add a file to the repo
* Add a file to staging
* Create a commit
* Create a new branch
* Create a GitHub repo
* Push a branch to GitHub
The document compares features of GitHub and GitLab version control software. It notes that both support code repositories, issue tracking, pull requests, and project web pages. Additionally, it states that GitLab offers integrated continuous integration and container registry features. The document promotes GitLab as having CI integrated directly with the code repository, hassle-free pipeline creation, a seamless workflow, an open source business model, rapid growth, and complete transparency.
This document provides an introduction to the version control system Git. It defines key Git concepts like the working tree, repository, commit, and HEAD. It explains that Git is a distributed version control system where the full history of a project is available once cloned. The document outlines Git's history, with it being created by Linus Torvalds to replace the commercial BitKeeper tool. It then lists and briefly describes important Git commands for local and collaboration repositories, including config, add, commit, log, diff, status, branch, checkout, merge, remote, clone, push, and pull. Lastly, it covers installing Git and generating SSH keys on Windows for accessing Git repositories.
This document provides an overview of Git and its basic commands for beginners. It covers installing Git, creating repositories on Bitbucket and GitHub, tracking changes with commands like add, commit, push, pull, and resolving merge conflicts. It also discusses branching, tagging, reverting changes, and ignoring files. Key concepts explained include distributed version control, staging changes, commit histories, and setting up aliases and submodules.
This document provides an overview of Git and GitHub. It describes key Git concepts and commands like commit, push, pull, clone, fetch, merge, diff, branching, and .gitignore. It also provides step-by-step instructions for initializing a Git repository, making configurations, adding and committing files, checking out different versions, comparing changes, removing files, pushing changes to remote repositories, cloning repositories, fetching updates, creating and merging branches, and deleting branches. The goal is to explain both the theory and practical usage of version control with Git and GitHub.
Two days git training with labs
First day covers git basis and essential commands
Second day covers git additional command with a big lab using a git workflow
Git is a version control system that allows developers to track changes in code and collaborate on projects. GitHub is a hosting service for Git repositories that offers collaboration features like code review and branching workflows. The document introduces Git and GitHub basics and outlines the GitHub Flow for collaborating via feature branching, pull requests, and code review before merging changes into the master branch. It concludes with reminders for good version control practices and sources for further information.
The everyday developer's guide to version control with GitE Carter
Git is a distributed version control system that allows developers to track changes in source code. It provides tools to commit changes locally, branch code for parallel development, and collaborate remotely by pushing and pulling changes from a shared repository. Common Git commands include init to create a repository, add and commit to save changes locally, checkout to switch branches, pull to retrieve remote changes, and push to upload local changes. Git helps developers work efficiently by enabling features like branching, undoing mistakes, and viewing the revision history.
A Basic Git intro presentation for SVN long timers doing their first steps in Git.
This presentation is meant to clear up most of the basic concepts which cause confusion with developers using Git as if it was an SVN.
Git is a version control system that stores snapshots of files rather than tracking changes between file versions. It allows for offline work and nearly all operations are performed locally. Files can exist in three states - committed, modified, or staged. Commits create snapshots of the staged files. Branches act as pointers to commits, with the default branch being master.
Git 101 - Crash Course in Version Control using GitGeoff Hoffman
Find out why more and more developers are switching to Git - distributed version control. This intro to Git covers the basics, from cloning to pushing for beginners.
This document provides an introduction to Git basics and concepts. It covers version control systems and why distributed version control is useful. It then discusses how Git originated from the Linux kernel project. The document reviews basic Git commands and workflows for setting up a repository, tracking and committing changes. It also covers viewing differences between commits, staging files, and undoing or amending commits. Finally, it discusses sharing repositories remotely including adding remotes, pushing and pulling from remote repositories, and cloning repositories from remote URLs.
AIESEC Nigeria provides leadership development and talent sourcing services to companies. It sources international students and graduates for organizations through its global network. It also sources national talents from Nigerian universities to meet organizations' talent needs. AIESEC Nigeria operates in 17 cities across Nigeria and has been active in the country for over 50 years developing young leaders and connecting them with opportunities.
Preview of Tunes of love, my collection of poems. Apparently the geek does other things apart from coding :D
Its available on Kindle Store here http://amzn.to/buytunesoflove
Wordpress is an open source content management system that was first released in 2003. It allows users to easily build and maintain blogs and websites. There are two main types - hosted on Wordpress.com which only allows approved themes and plugins, or self-hosted on your own domain which gives more flexibility but requires installing and configuring the software. Setting up a self-hosted Wordpress site involves getting a web host, downloading Wordpress, installing it which creates the database tables and wp-config.php file, and then exploring the dashboard to manage content, users, themes and plugins.
Zend\Expressive ist das neue Zugpferd am Zend Framework 3 Himmel. Das »PSR-7 Middleware Microframework« verspricht den Aufbau von leichtgewichtigen Webanwendungen innerhalb von wenigen Minuten. Wir werfen in dieser Session einen genaueren Blick auf die Möglichkeiten von Zend\Expressive und betrachten auch den Aufbau von komplexeren Middleware Anwendungen. Zudem erläutern wir die Frage, ob die Tage der MVC Frameworks nun gezählt sind.
This document discusses creating an API with Expressive, an API framework built on top of Stratigility. It provides an example of creating a RESTful API for beers using Expressive, including routing, dependency injection, templating, and error handling. It demonstrates installing Expressive via Composer, creating routes to return beer brands and styles, and testing the API using a built-in PHP server. It also covers enhancing the API to return individual beers, add authentication, and support JSON and HTML response formats.
The document outlines rules and principles for good design according to the author. It discusses that creativity is a skill that can be learned, and that CorelDraw is just a tool for creative expression. The author then explains their anatomy of a good design, which consists of four key elements - the background, active fore-image, font play, and ajasa. Various design examples are shown to demonstrate how manipulating these elements can elicit different emotions.
Git is a distributed version control system that allows for collaborative development of software. GitHub is a hosting service for Git repositories that provides a web interface and additional features. The document provides step-by-step instructions for installing Git, configuring it with GitHub, working locally and remotely with repositories, and additional resources for learning more about Git and GitHub.
This document provides an overview of Git and how to install Git software and connect a local repository to a GitHub repository. It discusses what version control systems are, introduces Git as a distributed version control system, lists advantages of Git over SVN, outlines steps to install Git software and configure user settings, and describes commands for creating, exporting, importing, and managing repositories locally and on GitHub. It also provides brief explanations for why Git may be preferable to SVN in terms of security, speed, storage space requirements, and managing branches.
Git is a version control system used to track changes to source code over time. It allows developers to collaborate by managing changes from multiple developers. GitHub is a hosting service for Git repositories that provides tools for collaboration. The key steps to sync a local Git repository with GitHub are to initialize and commit to the local repo, connect it to a remote GitHub repo, and push and pull changes between the local and remote repos.
Git is a version control system that tracks changes to files and allows collaboration. It keeps track of the entire history of changes to a project. The basic terminology includes repository, which stores project changes in folders; commits, which record changes with unique IDs; and branches, which allow parallel development. GitHub is a remote repository hosting service that allows pushing local repositories to the cloud. The document outlines how to initialize a local Git repository, add and commit files, connect the repository to a remote GitHub one, and push changes to share them.
This document provides an introduction and overview of Git and GitHub. It begins with explaining what Git is and why it is useful for managing code projects and collaborating with others. It then covers basic Git commands like init, add, commit, status, diff, log and branching and merging workflows. It introduces GitHub and how it can be used to host Git repositories, fork other projects, and contribute code. In summary, it serves as a beginner-level tutorial for learning the basics of the popular version control system Git and code hosting platform GitHub.
With these slides we introduce the concept of source control and teach the core features to using Git, GitHub and BitBucket. You can find the accompanying video here. https://youtu.be/lZpNrCgGvuI
Github is a web-based version control tool that uses the Git technology. It allows for unlimited public repositories and is used by individuals and enterprises to host code and collaborate on documentation and issues tracking. Github allows for cloning repositories, branching, committing changes, pulling requests to share code, and merging code branches into the master branch. Common commands used with Github include git init, git clone, git pull, git branch, git checkout, git status, git add, git commit, and git push.
This document provides an overview of using Git for version control. It begins with cloning a project from the internet and creating a local Git project. It then covers committing changes, pushing commits to a remote repository on GitHub, and pulling updates. The document also discusses branching, forking projects on GitHub, and sending pull requests to contribute changes back to the original project.
The document provides an introduction to using the version control system Git, explaining how to set up Git locally and with the online platform GitHub, demonstrating basic Git commands for tracking changes, merging work, and resolving conflicts when collaborating on projects. It also highlights additional benefits of using Git such as reproducibility, organization, online backup, and preparation for future projects.
We will learn how to create repository, pushing, cloning and creating branches. Additionally we will talk about various workflows that are used by teams while collaborating in a project.
The document provides instructions on installing git and creating a GitHub account, then defines important git concepts like repositories, commits, branches and remotes. It explains how to initialize a local git repository, add and commit files, and then push the repository to GitHub. Key steps include downloading git, signing up for GitHub, initializing a local repo, making commits, and linking the local repo to a new remote repo on GitHub.
Experiment No. 2 aims to understand version control systems and source code management by installing Git and creating a GitHub account. It outlines the steps to install Git from its official website and download the appropriate installer. It also explains how to create a GitHub account by visiting the website, signing up, choosing a plan, and completing the account setup process. Once installed and set up, Git can be used for version control and GitHub as a remote repository for projects to track changes, collaborate, and manage source code effectively.
Git is a free and open source version control system that allows tracking changes to code. GitHub is a web-based hosting service for Git repositories that provides additional collaboration features. The document outlines the basic Git workflow including initializing a local repository, making changes and committing them, and pushing commits to a remote GitHub repository. It also covers cloning an existing GitHub repository to the local system and some common Git commands.
Git is a distributed version control system that allows for collaborative development of software. Github is a hosting service for Git repositories. Git allows users to create and initialize projects locally, add files to a staging area, check the status of projects, and commit changes. Users can create and switch between branches, merge branches, and view commit histories. Remote repositories can be cloned, and changes can be pushed to or pulled from remote repositories. Best practices include making small, logical commits and keeping repositories up to date.
Git is the free and open-source distributed version control system that's responsible for everything GitHub-related that happens locally on your computer. This cheat sheet features the most important and commonly
used Git commands for easy reference.
Git is a version control system for tracking changes to files, while GitLab is a web-based Git repository manager with additional features. The document discusses Git and GitLab workflows including continuous integration, continuous delivery, and continuous deployment using GitLab. It also provides examples of common Git commands like add, commit, push, pull, branch, tag, and undo.
The document provides an overview of the topics to be covered in a developer workshop on Git and GitHub. It will teach participants how to use Git commands locally and collaborate on projects hosted on GitHub, including forking repositories, branching, pushing code, and creating pull requests. The key tools Git and GitHub allow developers to manage code versions and collaborate on projects of all sizes.
A Beginner's Guide to Git and GitHub, CLI version.
What is Git?
What is Github
Basic commands
Difference between Central and Distributed Version Controlling System
AI_dev Europe 2024 - From OpenAI to Opensource AIRaphaël Semeteys
Navigating Between Commercial Ownership and Collaborative Openness
This presentation explores the evolution of generative AI, highlighting the trajectories of various models such as GPT-4, and examining the dynamics between commercial interests and the ethics of open collaboration. We offer an in-depth analysis of the levels of openness of different language models, assessing various components and aspects, and exploring how the (de)centralization of computing power and technology could shape the future of AI research and development. Additionally, we explore concrete examples like LLaMA and its descendants, as well as other open and collaborative projects, which illustrate the diversity and creativity in the field, while navigating the complex waters of intellectual property and licensing.
Blockchain and Cyber Defense Strategies in new genre timesanupriti
Explore robust defense strategies at the intersection of blockchain technology and cybersecurity. This presentation delves into proactive measures and innovative approaches to safeguarding blockchain networks against evolving cyber threats. Discover how secure blockchain implementations can enhance resilience, protect data integrity, and ensure trust in digital transactions. Gain insights into cutting-edge security protocols and best practices essential for mitigating risks in the blockchain ecosystem.
GDG Cloud Southlake #34: Neatsun Ziv: Automating AppsecJames Anderson
The lecture titled "Automating AppSec" delves into the critical challenges associated with manual application security (AppSec) processes and outlines strategic approaches for incorporating automation to enhance efficiency, accuracy, and scalability. The lecture is structured to highlight the inherent difficulties in traditional AppSec practices, emphasizing the labor-intensive triage of issues, the complexity of identifying responsible owners for security flaws, and the challenges of implementing security checks within CI/CD pipelines. Furthermore, it provides actionable insights on automating these processes to not only mitigate these pains but also to enable a more proactive and scalable security posture within development cycles.
The Pains of Manual AppSec:
This section will explore the time-consuming and error-prone nature of manually triaging security issues, including the difficulty of prioritizing vulnerabilities based on their actual risk to the organization. It will also discuss the challenges in determining ownership for remediation tasks, a process often complicated by cross-functional teams and microservices architectures. Additionally, the inefficiencies of manual checks within CI/CD gates will be examined, highlighting how they can delay deployments and introduce security risks.
Automating CI/CD Gates:
Here, the focus shifts to the automation of security within the CI/CD pipelines. The lecture will cover methods to seamlessly integrate security tools that automatically scan for vulnerabilities as part of the build process, thereby ensuring that security is a core component of the development lifecycle. Strategies for configuring automated gates that can block or flag builds based on the severity of detected issues will be discussed, ensuring that only secure code progresses through the pipeline.
Triaging Issues with Automation:
This segment addresses how automation can be leveraged to intelligently triage and prioritize security issues. It will cover technologies and methodologies for automatically assessing the context and potential impact of vulnerabilities, facilitating quicker and more accurate decision-making. The use of automated alerting and reporting mechanisms to ensure the right stakeholders are informed in a timely manner will also be discussed.
Identifying Ownership Automatically:
Automating the process of identifying who owns the responsibility for fixing specific security issues is critical for efficient remediation. This part of the lecture will explore tools and practices for mapping vulnerabilities to code owners, leveraging version control and project management tools.
Three Tips to Scale the Shift Left Program:
Finally, the lecture will offer three practical tips for organizations looking to scale their Shift Left security programs. These will include recommendations on fostering a security culture within development teams, employing DevSecOps principles to integrate security throughout the development
In this follow-up session on knowledge and prompt engineering, we will explore structured prompting, chain of thought prompting, iterative prompting, prompt optimization, emotional language prompts, and the inclusion of user signals and industry-specific data to enhance LLM performance.
Join EIS Founder & CEO Seth Earley and special guest Nick Usborne, Copywriter, Trainer, and Speaker, as they delve into these methodologies to improve AI-driven knowledge processes for employees and customers alike.
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threatsanupriti
In the rapidly evolving landscape of blockchain technology, the advent of quantum computing poses unprecedented challenges to traditional cryptographic methods. As quantum computing capabilities advance, the vulnerabilities of current cryptographic standards become increasingly apparent.
This presentation, "Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats," explores the intersection of blockchain technology and quantum computing. It delves into the urgent need for resilient cryptographic solutions that can withstand the computational power of quantum adversaries.
Key topics covered include:
An overview of quantum computing and its implications for blockchain security.
Current cryptographic standards and their vulnerabilities in the face of quantum threats.
Emerging post-quantum cryptographic algorithms and their applicability to blockchain systems.
Case studies and real-world implications of quantum-resistant blockchain implementations.
Strategies for integrating post-quantum cryptography into existing blockchain frameworks.
Join us as we navigate the complexities of securing blockchain networks in a quantum-enabled future. Gain insights into the latest advancements and best practices for safeguarding data integrity and privacy in the era of quantum threats.
An invited talk given by Mark Billinghurst on Research Directions for Cross Reality Interfaces. This was given on July 2nd 2024 as part of the 2024 Summer School on Cross Reality in Hagenberg, Austria (July 1st - 7th)
The DealBook is our annual overview of the Ukrainian tech investment industry. This edition comprehensively covers the full year 2023 and the first deals of 2024.
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Chris Swan
Have you noticed the OpenSSF Scorecard badges on the official Dart and Flutter repos? It's Google's way of showing that they care about security. Practices such as pinning dependencies, branch protection, required reviews, continuous integration tests etc. are measured to provide a score and accompanying badge.
You can do the same for your projects, and this presentation will show you how, with an emphasis on the unique challenges that come up when working with Dart and Flutter.
The session will provide a walkthrough of the steps involved in securing a first repository, and then what it takes to repeat that process across an organization with multiple repos. It will also look at the ongoing maintenance involved once scorecards have been implemented, and how aspects of that maintenance can be better automated to minimize toil.
The Rise of Supernetwork Data Intensive ComputingLarry Smarr
Invited Remote Lecture to SC21
The International Conference for High Performance Computing, Networking, Storage, and Analysis
St. Louis, Missouri
November 18, 2021
Quantum Communications Q&A with Gemini LLM. These are based on Shannon's Noisy channel Theorem and offers how the classical theory applies to the quantum world.
Transcript: Details of description part II: Describing images in practice - T...BookNet Canada
This presentation explores the practical application of image description techniques. Familiar guidelines will be demonstrated in practice, and descriptions will be developed “live”! If you have learned a lot about the theory of image description techniques but want to feel more confident putting them into practice, this is the presentation for you. There will be useful, actionable information for everyone, whether you are working with authors, colleagues, alone, or leveraging AI as a collaborator.
Link to presentation recording and slides: https://bnctechforum.ca/sessions/details-of-description-part-ii-describing-images-in-practice/
Presented by BookNet Canada on June 25, 2024, with support from the Department of Canadian Heritage.
Quality Patents: Patents That Stand the Test of TimeAurora Consulting
Is your patent a vanity piece of paper for your office wall? Or is it a reliable, defendable, assertable, property right? The difference is often quality.
Is your patent simply a transactional cost and a large pile of legal bills for your startup? Or is it a leverageable asset worthy of attracting precious investment dollars, worth its cost in multiples of valuation? The difference is often quality.
Is your patent application only good enough to get through the examination process? Or has it been crafted to stand the tests of time and varied audiences if you later need to assert that document against an infringer, find yourself litigating with it in an Article 3 Court at the hands of a judge and jury, God forbid, end up having to defend its validity at the PTAB, or even needing to use it to block pirated imports at the International Trade Commission? The difference is often quality.
Quality will be our focus for a good chunk of the remainder of this season. What goes into a quality patent, and where possible, how do you get it without breaking the bank?
** Episode Overview **
In this first episode of our quality series, Kristen Hansen and the panel discuss:
⦿ What do we mean when we say patent quality?
⦿ Why is patent quality important?
⦿ How to balance quality and budget
⦿ The importance of searching, continuations, and draftsperson domain expertise
⦿ Very practical tips, tricks, examples, and Kristen’s Musts for drafting quality applications
https://www.aurorapatents.com/patently-strategic-podcast.html
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfjackson110191
These fighter aircraft have uses outside of traditional combat situations. They are essential in defending India's territorial integrity, averting dangers, and delivering aid to those in need during natural calamities. Additionally, the IAF improves its interoperability and fortifies international military alliances by working together and conducting joint exercises with other air forces.
2. What is Git and Github
git
Git is an extremely fast, efficient, distributed version control
system used for collaborative development of software. Git
was designed and developed by Linus Torvalds.
git·hub
Github is a web-based hosting service for software
development projects that use the Git revision control
system. Github was founded by chris wanstrath and tom
preston-werner and PJ Hyett.
4. Installing Git
Installing Git is simple.
Download and follow the steps of installation.
Find detailed installations:
Linux
http://help.github.com/linux-set-up-git/
Windows
http://help.github.com/win-set-up-git/
OSX
http://help.github.com/mac-set-up-git/
5. Configuring Git with GitHUB
Github makes using Git a lot cooler.
Steps to have your Git installed to work with Github is as follows:
1. Generate SSH Key
2. Add SSH Key to Github
3. Setting up preference and info
4. Testing
6. Configuring Git with GitHUB
Generate SSH Key
To generate a new SSH key, enter the code below. Press Enter to
go with the default settings.
Now you need to enter a passphrase.
7. Configuring Git with GitHUB
Passphrase is another layer that makes you SSH key more secure. You
should see something like this. And a id_rsa.pub file would be created in
your working directory.
8. Configuring Git with GitHUB
Add SSH Key To Github
Create an account on www.github.com. Login, go to “Account
Settings” > Click “SSH Keys” > Click “Add another public key”
Open the id_rsa.pub file with a text editor. copy your SSH key exactly
as it is written without adding any newlines or whitespace. Now paste
it into the “Key” field. Leave the title out. Click Add Key and that is
all.
9. Configuring Git with GitHUB
Setting Up Info
Git tracks who makes each commit by checking the user’s name and email.
To set these, enter the code below, replacing the name and email with your
own. The name should be your actual name, not your GitHub username.
More options include
git config --global color.branch auto
git config --global color.diff auto
Find more customization options here:
http://book.git-scm.com/5_customizing_git.html
10. Configuring Git with GitHUB
Testing setup
To make sure everything is working type the following code.
You should get
Type Yes and you are done!
11. Working with Git Locally
Creating Projects
Navigate into the directory you want to create project in and run
this command
$ git init
12. Working with Git Locally
Adding Files to Staging Area
In Git, you have to add file contents to your staging area before
you can commit them
$ git add .
(add all files recursively)
$ git add *
(add all files)
13. Working with Git Locally
Checking Status of project
See what the status of your staging area is compared to the code in
your working directory, you can run the git status command
$ git status
$ git status –s (non-verbose)
14. Working with Git Locally
Committing Changes
Run this command to actually record snapshot that has been
added.
Git records your name and email address with every commit you
make.
$ git commit -m ‘first commit‘
Every commit should be accompanied by a message which
describes what the commit is about. You specify this with ‘-m’
flag.
15. Working with Git Locally
Branch Command
The git branch command is a general branch management tool
for Git. A git branch is basically the context in which you
currently work. To create a new branch run
$ git branch [branchname]
(creates a branch)
$ git branch
(lists existing branch)
When you run git init, a ‘master’ branch is
automatically created.
16. Working remotely with Github
So far, we have been working with Git on a local system. To put
your project up on GitHub, you’ll need to have a GitHub
repository for it to live in. Follow the following steps.
Login into Github and click on New Repository
18. Working remotely with Github
Each Repository has a unique URL. This would be needed when
you want to move your files to github. Go to the Repository
page and you would find the URL as similar as below:
19. Working remotely with Github
Adding a remote repository and alias
If you want to share a locally created repository to github it is
generally easiest to add it as a remote on your local machine. Git
stores an alias or nickname for each remote repository URL So
that you don't have to use the full URL of a remote repository
every time you want to synchronize with it. To add a remote use
the remote add command
$ git remote add [alias] [url]
alias = Name you want to refer to the remote eg origin, project
etc
url = unique url of the remote repository.
Example git remote add origin git@github.com:dadepo/Padly.git
20. Working remotely with Github
Copying a Git Repository with Clone
If you need to collaborate with someone on a project, or if you
want to get a copy of a project so you can look at or use the
code, you will clone it. To do this run the following command:
$ git clone [url]
url = unique url of the remote repository.
For example to clone a repository at
git@github.com:dadepo/Padly.git you type
git clone git@github.com:dadepo/Padly.git
21. Working remotely with Github
Updating from a remote repository
Git has two commands to update itself from a remote repository.
git fetch
git pull
The difference in these two commands in the simplest terms is
that, "git pull" does a "git fetch" followed by a "git
merge".
22. Working remotely with Github
Updating a remote repository
To update a remote repository with changes you have made locally you
run the following command
git push [alias] [branch]
* If someone else has pushed since you last fetched and merged, the Git server will
deny your push until you are up to date.
23. More Resources on Git
http://help.github.com/
http://learn.github.com/p/intro.html
http://gitref.org/index.html