You are on page 1of 6

SOFTWARE ENGINEERING 2

NAME : HANEEN FARAJ MOHAMMAD ID:438804669

1. Add any four files in the folder:


➢ We create a new folder on the desktop

➢ We name it after whatever we want ill name it (Haneen)

➢ Create 4 folder inside the folder (Haneen)


➢ Create A repository of the file we just created using GIT BASH

➢ Then we make the repository the main route using git init

➢ Then we add the files using git add


2. Chang the path to your folder location
➢ We change the path using cd command and write the path to the folder we made

3. Change the name of any one of the files


➢ Use the command git mv to rename the folder by writing the original folder’s name and what
you want to change it to.

4. Delete any file from folder


➢ Delete a file using the git rm -f
5. Save all the operations that you have performed
➢ We save it using the command git commit

6. Create a repository in github


➢ We go to their website www.github.com
➢ We create an account
➢ We create a repository

7. Make a copy of git repository


➢ After creating a repository we click on copy
➢ We copy the link using the HTTPS

➢ We use the command git clone to access it on our desktop

➢ Change the repository to its new path


8. Check the status of your files

➢ We check the status using the command git status

You might also like