Open amirabayoumi opened 10 months ago
@amirabayoumi Again, this issue (workflows week 1) is to be done/completed next week. You add the label 'check-in' only when everything is done, this way you are communicating to the coach that he/she can check it. Once checked, If everything is ok, a label 'checked-1' will be added, otherwise, we will write you a text message in the issue (like I did now)
🥚 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?
npm install + npm scripts ( i faced many lint faild so i had to run it again and agian without knowing the reason why i should run it more than one time !! )
Lessons learned