Skip to content

Conversation

@LUNIC21
Copy link

@LUNIC21 LUNIC21 commented Sep 7, 2024

No description provided.

@hisergiorojas
Copy link
Collaborator

Could you kindly add the image to the pull request?

@LUNIC21
Copy link
Author

LUNIC21 commented Sep 25, 2024

My picture was added to my codespace, but I am not sure why my image is not added to git commit.
I followed the module. May I know how I can push the image?

@hisergiorojas
Copy link
Collaborator

It sounds like the image might not have been staged for the commit. Here’s how you can make sure it’s properly added:

  1. Check if the image is staged: Run git status to see if the image is listed under "Changes not staged for commit." If it’s there, you’ll need to stage it.

  2. Stage the image: Use the following command to add the image to your commit:

    git add <path/to/your/image>
    
  3. Commit the image: After staging, commit the changes with:

    git commit -m "Add image to commit"
    
  4. Push the commit: Finally, push the commit to the repository:

    git push
    

If the image is already staged and committed, make sure it’s not in your .gitignore file, as that could prevent it from being tracked.

@LUNIC21
Copy link
Author

LUNIC21 commented Oct 2, 2024

Sorry for the late response.
CTI GitWorkFlow Picture not working
I don't have .gitignore file, and I try to manually add the picture per instruction, but it still doesn't work...

@hisergiorojas hisergiorojas merged commit 34dffd2 into CTI-CodeDay:main Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants