Changes between Version 5 and Version 6 of Csle2022/Agenda/githubadministration


Ignore:
Timestamp:
Nov 22, 2022, 3:39:43 PM (2 years ago)
Author:
deepthi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/githubadministration

    v5 v6  
    11= Github administration =
    22
    3 === Install Git and create a Github account ===
     3== Install Git and create a Github account ==
    44
    55To see if you already have Git installed, open up your terminal application.
     
    2323Navigate [https://github.com] and signup with your details
    2424
    25 === Install source tree on your computer ===
     25== Install source tree on your computer ==
    2626
    27 === Create a local Git repo ===
     27== Create a local Git repo ==
    2828
    29 ===== Every git repository has three trees. A working directory, Index and Head. ====
     29=== Every git repository has three trees. A working directory, Index and Head. ===
    3030
    3131- Working directory: It contains the actual project files.
     
    4444}}}
    4545
    46 === Add a new file to the repo ===
     46== Add a new file to the repo ==
    4747
    48 ==== From web UI ====
     48=== From web UI ===
    4949
    50501.On GitHub.com, navigate to the main page of the repository.
     
    7070[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Csle2022/Agenda/githubadministration/commit-changes-button.png, 600)]]
    7171
    72 ==== From the terminal ====
     72=== From the terminal ===
    7373
    74741.On your computer, move the file you'd like to upload to GitHub into the local directory that was created when you cloned the repository.
     
    9999}}}
    100100
    101 === Add a file to the staging environment ===
     101== Add a file to the staging environment ==
    102102
    103103The "add" command marks changes to be included in the next commit.
     
    115115`git add --all`
    116116
    117 === Create a commit ===
     117== Create a commit ==
    118118
    119119Commits are the building blocks of "save points" within Git's version control.
     
    121121`git commit -m "update the README.md"`
    122122
    123 === Create a branch ===
     123== Create a branch ==
    124124
    125 ==== From web GUI ====
     125=== From web GUI ===
    126126
    1271271.On GitHub.com, navigate to the main page of the repository.
     
    144144[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Csle2022/Agenda/githubadministration/branch-creation-popup-button.png, 600)]]
    145145
    146 ==== Creating a branch using the branch dropdown ====
     146=== Creating a branch using the branch dropdown ===
    147147
    1481481.On GitHub.com, navigate to the main page of the repository.
     
    160160[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Csle2022/Agenda/githubadministration/branch-creation-text-box.png, 600)]]
    161161
    162 === Push a branch to GitHub ===
    163 
    164 === Create a pull request ===
     162== Create a pull request ==
    165163
    1661641.On GitHub.com, navigate to the main page of the repository.
     
    186184[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Csle2022/Agenda/githubadministration/pullrequest-send.png, 600)]]
    187185
     186==  Get changes on your Github back your computer ==
    188187
    189 
    190 === Merge a pull request ===
    191 
    192 ===  Get changes on your Github back your computer ===
    193 
    194 ==== Checking out a repository ====
     188=== Checking out a repository ===
    195189
    196190You can create a copy of your git repository using the clone command. Execute the following command to clone your project directory.