GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OSDLabs/git-task

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
intro
intro
 
 
README.md
README.md
 
 

Repository files navigation

git-task

To introduce folks to git version control system and github

For any issues/doubts: Join Slack Chat

Introduction

Go through this to understand more: Introduction.

We'll be uploading with a proper introduction shortly.

Instructions

These are for folks using Linux, Mac OSX. Windows people have to download git bash separately.

Basic Procedures

  • Make a new repository in your account

    • There will be an option Initialize with README. Check that option.
  • There are two methods to have a local repository in your machine

    1. First method
    • git clone <url> where <url> is the url of the repository you initialized. Eg. <url> for this repository is https://github.com/OSDLabs/git-task.
    • With this, a clone of the repo on github will be created
    1. Second method
    • Create a folder(repository) in your machine: mkdir <reponame>
    • Navigate into the directory: cd <reponame>
    • Initialize it as a git repository: git init
    • Link it with the online repository: git remote add origin <url> where <url> is the url of the repository you initialized.
    • Add some random files in the repository.
    • Add the files for staging for the next commit: git add ..
    • Commit(Save) the files: git commit -m <message> where <message> is in double quotes and can be anything to describe your commit.
    • Push it to your online repository: git push origin master
      • You'll end up with an error message saying that your local repository is not up-to-date with your online(remote) repository. This happens, because you have a README.md in the online repo which is not present in your local repository.git pull origin master will pull all the contents from the online(remote) repo to your local repo. Now proceed with: git push origin master

Making Contributions

Basic

  • Make a fork of this repository
  • Clone your fork to your device (git clone <url> where <url> is the url of the forked repository that is in your account and not https://github.com/OSDLabs/git-task)
  • Create a new branch named contrib (git checkout -b contrib)
  • Create a new file named yourname.txt in intro directory with your name and BITS ID as the content (refer to sebastinsanty.txt for an example)
  • Commit (git add . & git commit -m <message>) the changes and push it to your fork git push origin contrib (read it as push the contrib branch to the remote named origin)
  • Browse to your repository on Github and submit a pull request

About

No description or website provided.

Topics

gitosdlabstutorial

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

2 watching

Forks

48 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.