Giter Site home page Giter Site logo

preparation-git-shamil's Introduction

Learn Git Basic for Colaboration

This is repository for teaching material of miniclass preparation WRI 2023

Learning outcome :

  • Understand how to start colaboration in the open source repository
  • Understand basic step by step colaboration in the open source repository

What should you do ?

  • Fork this repository

  • Clone the repository to your device, you can use git bash git clone <repo_url>

  • Create a new branch, then checkout to the new branch that has been created. Use git checkout -b <branch_name> or git branch <branch_name> then follow by git switch <branch_name>.

  • Start make a folder and some file in the repository. Example :

    image

  • Then, commit the file1 and file2 in the first commit, then commit file3 in the second commit. First of all move the file into staging area use git add <file_name>, after that you can commit the change using git commit -m "commit message"

  • So in the end we will have 2 commit, 1 commit for file1 and file2, 1 commit for file3

  • Push the commit into your branch using git push -u origin <branch_name>

  • Check the repository in the github, then choose compare pull & request. If you encounter a compare and pull request button doesn't appear. Ask the mentor immediately.

  • Fill the some details in the pull & request section then finish it!

End of section

If you find another problem with your git, feel free to ask the mentor.

Another resource to learn git individually

preparation-git-shamil's People

Contributors

srikresna avatar vozsoldat avatar g4ceneiz avatar purnamaridzkyn avatar adityawangsa avatar alvnz11 avatar axelmatthew12 avatar kurniaduta avatar eksamuhammad avatar fahrizp24 avatar kiriyan08 avatar rendhazuper avatar rensimeila04 avatar tncp06 avatar tamadioo avatar jioooo20 avatar alfbrynn avatar fallujahrama avatar stewistzz avatar jihar15 avatar kiki0122 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.