Linux29: Version Control Workflow — Commit & Push

Now that the leaked credential has been found, properly configure .gitignore to prevent future accidental leaks

Objective

Learner can create a .gitignore file, stage modifications, commit revisions, and push changes back to the remote repository

Mission

Prevent future accidental leaks of credential files. Inside ~/workspace/soc-tools, create a .gitignore file containing credentials-backup.txt.

Stage the file (git add .gitignore), commit the change, and push the updated branch back to the remote server using git push origin main.

Commands you may need to solve this lab

git addgit commitgit pushecho

Questions

Machine Offline

Isolated container is offline

Click "Start Machine" to boot your sandbox instance and choose your preferred interface