Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 1: Set up the project #11

Open
lisa761 opened this issue Apr 13, 2020 · 67 comments
Open

Task 1: Set up the project #11

lisa761 opened this issue Apr 13, 2020 · 67 comments

Comments

@lisa761
Copy link
Member

lisa761 commented Apr 13, 2020

Welcome to the first task of The Open-Source Challenge.
The task is as follows:

  • Download and configure git according to your system. You can refer this cheat-sheet as well.

  • Set up the project by following the steps in CONTRIBUTION.md file.

  • Add git remote to your local project by running the following inside the project directory in your terminal:
    git remote add upstream https://github.com/ACM-IGDTUW/Open-Source-Challenge.git


Submissions:

  1. Add the screenshot of the outputs of the following git commands (try to include all output in a single screenshot):
git --version
git config user.name
git config user.email
git remote -v
  1. Add a screenshot of this project that you were able to run on your localhost by following CONTRIBUTION.md.

Note: Add the two screenshots in a single comment of this issue. For any technical queries, open a new issue describing the problem. Don't forget to register here for this challenge before making contributions.

@tichnas
Copy link
Contributor

tichnas commented Apr 13, 2020

Is this perfect?
Screenshot from 2020-04-13 12-10-18
Screenshot from 2020-04-13 12-11-00

@lisa761
Copy link
Member Author

lisa761 commented Apr 13, 2020

@tichnas Great, that was fast! Although, your origin needs to be your fork. That means you should clone your forked repository locally. Therefore the output of git remote -v for origin would be something like https://github.com/tichnas/Open-Soure-Challenge.git. Right now your upstream and origin are same. You can comment your screenshots again if you want.

@anujji1999
Copy link
Contributor

anujji1999 commented Apr 13, 2020

1
2

Is this perfect?

@lisa761
Copy link
Member Author

lisa761 commented Apr 13, 2020

@anujji1999 Great!

@Akanksha1212
Copy link
Contributor

ss1
ss2

@tichnas
Copy link
Contributor

tichnas commented Apr 13, 2020

Is it ok now?
Screenshot from 2020-04-13 12-30-01
Screenshot from 2020-04-13 12-11-00

@soumyaa1804
Copy link
Member

Is it ok now?

@tichnas Yes, looks good.

@Tarster
Copy link
Contributor

Tarster commented Apr 13, 2020

Screenshot from 2020-04-13 12-34-27

@Jhanvi12
Copy link
Contributor

Jhanvi12 commented Apr 13, 2020

site_git
image

Well , Is it fine now ???

@lisa761
Copy link
Member Author

lisa761 commented Apr 13, 2020

@Jhanvi12 Great! You also need to add upstream as mentioned in the task. You can change your screenshots in your comment itself, if you wish to do so.

@sunitijain111
Copy link
Contributor

sunitijain111 commented Apr 13, 2020

Screenshot from 2020-04-13 14-04-40

ss

@lisa761
Copy link
Member Author

lisa761 commented Apr 13, 2020

@sunitijain111 It seems you have added the upstream in a wrong project directory. That's why the origin and upstream do not have the same project name at the end. Make sure you enter the Open-Source-Challenge directory and then run the add upstream command.

@sunitijain111
Copy link
Contributor

okay , letme update

@raksha009
Copy link
Contributor

Screenshot (91)

@raksha009
Copy link
Contributor

plz have a look... I am not getting how to open localhost300

@lisa761
Copy link
Member Author

lisa761 commented Apr 13, 2020

@raksha009 Follow the exact steps in Contribution.md which is linked in the task. Once you are inside Open Source Challenge you have to run a few commands that are mentioned there to see it wokring. Did you successfully install node and npm as written in that Contribution file?

@soumyaa1804
Copy link
Member

plz have a look... I am not getting how to open localhost300

@raksha009 You need not to explicitly do git init . Git itself starts tracking the files when you clone them. And you need to first fork the repo and then clone your forked repo. All these instructions are given in CONTRIBUTION.md file.

@raksha009
Copy link
Contributor

Screenshot (92)

@raksha009
Copy link
Contributor

Screenshot (92)

@raksha009
Copy link
Contributor

done .. plz have a look

@Sjsingh101
Copy link
Contributor

s1
s2

@lisa761
Copy link
Member Author

lisa761 commented Apr 13, 2020

@raksha009 great! You just need to add upstream the way its mentioned in the task.

@sanjitcodes
Copy link
Contributor

Is it okay ?
Screenshot 2020-04-13 at 4 48 12 PM
Screenshot 2020-04-13 at 4 48 29 PM

@soumyaa1804
Copy link
Member

soumyaa1804 commented Apr 13, 2020

Is this okay?

@mishra-aanchal there is no gap in user.name and in user.email. That's why you are getting that error in git config user.name and git config user.email commands

@raksha009
Copy link
Contributor

Screenshot (93)

@raksha009
Copy link
Contributor

done finally 😅

@mishra-aanchal
Copy link

Is this okay?

@mishra-aanchal there is no gap in user.name and in user.email. That's why you are getting that error in git config user.name and git config user.email

oh yes!my bad. thanks for pointing, will update!

@mishra-aanchal
Copy link

https://user-images.githubusercontent.com/48357016/79120648-0c768a00-7db1-11ea-9ce4-de004b66a4b7.PNG

finally done!hope it's fine now.
@soumyaa1804 thanks for pointing mate!

@aayushibansal2001
Copy link
Contributor

Submission of task 1
git ss1
git ss2

@saloniankita
Copy link
Contributor

Task - 1
Screenshot 2020-04-14 01 59 53

Screenshot 2020-04-14 01 46 25

@Tanisha07
Copy link
Contributor

ss1
ss2

@lisa761
Copy link
Member Author

lisa761 commented Apr 14, 2020

@Omkaragrawal Yes, its completely fine. I will send you the mail to join the whatsapp group.

@Prerna-Goel
Copy link
Contributor

image

image

Done!!!
is that ok?

@mansi35
Copy link
Contributor

mansi35 commented Apr 14, 2020

github
github1
Done!
Is it okay now?

@niyati-n
Copy link
Contributor

Annotation 2020-04-14 113644
Annotation 2020-04-14 114044

Done!

@bits2zbytes
Copy link

image
image

@mishra-shruti96
Copy link
Contributor

79160026-ba585780-7df6-11ea-993f-0ff7273c1af4
79160042-c6441980-7df6-11ea-9e3d-d8d7641fe26f

By mistake I created another issue for this task yesterday and posted my work there ... so here I am posting it again. Please consider this .

Link of the previous post : #15 (comment)

@soumyaa1804
Copy link
Member

soumyaa1804 commented Apr 14, 2020

@mishra-shruti96 Please cross-check why you are getting your email address on git config user.name as this command should return your username

@Ruheej1
Copy link

Ruheej1 commented Apr 14, 2020

image

image
is this okay?

@simran212530
Copy link

Screenshot (240)
SS1
Hey, it's done!

@soumyaa1804
Copy link
Member

@Ruheej1 You had to clone your forked repo. You cloned it from the original repo that's why You are getting the same repository in both origin and upstream. Do it again from your forked repo.

@lisa761
Copy link
Member Author

lisa761 commented Apr 14, 2020

@Ruheej1 If you have already forked the repo, you can just run this:

git remote set-url origin https://github.com/Ruheej1/Open-Source-Challenge.git

and then run

git remote -v

again to see the update.

@Ruheej1
Copy link

Ruheej1 commented Apr 14, 2020

image
is it correct now?

@lisa761
Copy link
Member Author

lisa761 commented Apr 14, 2020

@Ruheej1 Great!

@Mitali-laroia
Copy link

IMG_20200414_153539
Task 1

@soumyaa1804
Copy link
Member

@Mitali-laroia, You had to run git remote -v for the output after adding upstream. You can run the commands again and change the image in the comment itself.

@mishra-shruti96
Copy link
Contributor

@mishra-shruti96 Please cross-check why you are getting your email address on git config user.name as this command should return your username

@soumyaa1804 I checked it again... there might me some mistake . Check this one
image

@vkr-code
Copy link
Contributor

Screenshot (379)
Screenshot (381)

@eternal-dreamer
Copy link
Contributor

Screenshot (18)
Screenshot (15)

@lisa761
Copy link
Member Author

lisa761 commented Apr 15, 2020

Hi, @vkr-code, you also need to show the result of git remote -v in your terminal.

@priyanka2109
Copy link
Contributor

Is it okay?
Screenshot (14)
Screenshot (15)

@lisa761
Copy link
Member Author

lisa761 commented Apr 15, 2020

Hi, @priyanka2109, your origin and upstream both have the same link. You have to fork the repo and then clone it. If you did fork the repo, then run this command:

git remote set-url origin https://github.com/priyanka2109/Open-Source-Challenge.git

Else, fork the repo first and then run the same command.

@priyanka2109
Copy link
Contributor

Screenshot (16)
Screenshot (17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests