Open tarunpurswani opened 6 months ago
@tarunpurswani where is your check-in
for week2 ?
Hello @samirm00 do i need to create a new issue for week-2 because Milena told us to just add week-2 flag in the same issue.
Apologies for confusion.
Hello @tarunpurswani it is the same issue , just answer the same questions for week 2 , I have already added the questions for you
Thanks @samirm00. it's done
0. Local Development Without Git
Practice the foundational workflows of software development by learning to write Markdown locally on your own computer using Visual Studio Code (VSCode), the Command Line Interface (CLI), and NPM scripts to automate your code's quality (formatting, linting and spell checking).
cd
ls
cat
touch
mkdir
npm install
to install a project's dependenciespackage.json
file to find which scripts are available for the projectnpm run <script>
to execute an npm scriptnpm run format
to format all of the documents in your projectnpm run format:check
to make sure all files are well-formattednpm run lint:ls
to check all folder and file names in your projectnpm run lint:ls
npm run lint:md
to check all Markdown files in your folder for linting mistakesnpm run lint:md
npm run spell-check
to check the spelling in all the files of your project.cspell.json
to add words that should be allowed in your projectnpm run lint:ls
to check that all files and folders follow the project's naming conventions.1. Local Development With Git
Practice using Git to save and organize your development process. You will learn how you can use Git to go back to previous versions of your project, and to work on different changes in parallel.
git init
git add <path>
git status
git commit -m <message>
git log
git branch <branch-name>
git checkout <branch-name>
git checkout -b <branch-name>
git merge <branch-name>
git checkout main
git pull
git checkout <branch-name>
git merge main
git pull origin main
git log
andgit checkout <commit-hash>
git stash
andgit pop
git remote -v
git remote add <shortname> <remote-url>
git remote set-url <exsit-shortname> <new-remote-url>
git remote rename <old-shortname> <new-shortname>
git remote rm <exsit-shortname>
.gitignore
: You can use a.gitignore
file to describe which files you don't want included in your git history.main
when they are finished.2. Local/Remote Development
Learn how you can connect your local Git repositories with a GitHub repository to add more structure to your development process and to share your projects.
main
main
until Continuous Integration (CI) checks have passedgit clone <remote-url>
git push
command is used to upload local repository content to a remote repositorygit fetch
a primary command used to download contents from a remote repositorygit pull
command downloads the changes directly and then applies those changes to the current working filespush
andpull
changes between remote & local branchesgit fetch
andgit pull
main
.main
branch.main
branch and prevents conflicts from happening in GitHub. For each contribution to the project you can ...main
on your local machinemain
to localmain
main
to your new branchmain
main
3. Remote Collaboration
Learn how to collaborate with a group on a single project hosted in a GitHub repository. Practice using GitHub's project management features to organize your group's tasks and to double-check your project's code quality.
main
.4. Open Source Development
Explore the wider world of Open Source software by learning how communities of independent developers write and maintain the code we all rely on.
week 1:
I Need Help With:
What went well?
What went less well?
Lessons Learned
week 2:
I Need Help With:
Resolving Git Conflicts, We face lot of conflicts when multiple people work and push their branches in parallel.
What went well?
Team work
What went less well?
CSS.....:(
Lessons Learned
Creating a full website page with the a group