Git and GitHub-Lab-IA1
Git and GitHub-Lab-IA1
(Navya)
2. Create a Remote repository in GitHub. Import the Repository using git fetch
command into your local machine. Now Create a local branch with the name
firstbranch using GitBash. Create a text file which contains short introduction
about yourself in your local branch. Now push only the firstbranch into GitHub.
Now merge the firstbranch with the master branch in GitHub.
(priyanka)
3. Create a directory with the name Project and initialize the local repository and
set the configuration details such as username and email. Show the
demonstration of the following git commands using GitBash: help, add, commit.
Generate Public SSH key and add the key in GitHub. Create a .c file which
contains program to swap 2 integer values.
Now push the changes to GitHub.
(mahithosh)
4. Create a Remote repository in GitHub with README file. Clone the Repository
using git clone command into your local machine. Now create 2 Local branches
with the name firstbranch and secondbranch. Create a text file in each branch
which contains short introduction about yourself. Merge second branch with
firstbranch. Now push only firstbranch to GitHub.
(Nidhi)
5. Create a Remote repository in GitHub. Clone the Repository using git clone
command into your local machine. Now Create a local branch “firstbranch” using
GitBash. Create a text file which contains short introduction about your college
and department in your local branch. Now push only the branch into GitHub.
Now merge the firstbranch with the master branch locally using GitBash. Now
push masterbranch (local) to GitHub.
(sonika)
6. Create a directory with the name Project and initialize the local repository and
set the configuration details such as username and email.
Show the demonstration of the following git commands using GitBash: help, add,
commit. Create a .c file which contains program to swap 2 integer values.
Now create 2 Local branches with the name firstbranch and secondbranch. Now
create 2 text files in each branch. Push both the branches into GitHub and merge
both the branches with the master branch in GitHub.
(harsha)
1. Creating Local Repository, creating and adding new files in the local
Repository.
(sonika)
2. Creating branch locally and merging one branch with the other or master and
Switching between the branches.
(Nidhi)
(Nandini)
(Sherly)