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

[Bug]: #2404

Open
krishhh16 opened this issue Apr 3, 2024 · 2 comments
Open

[Bug]: #2404

krishhh16 opened this issue Apr 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@krishhh16
Copy link

What happened?

The following error occurred while running docker compose -f docker-compose.dev.yml up --build 
image

Relevant log output

No response

Twitter / LinkedIn details

No response

@krishhh16 krishhh16 added the bug Something isn't working label Apr 3, 2024
Copy link

dosubot bot commented Apr 3, 2024

Hey @krishhh16, back for more Git fun, I see! Always a pleasure to dive into these digital rabbit holes with you.

Based on the error you've described, it seems like your local branch is behind the remote branch, which is causing the push to be rejected. Here's how you can resolve this:

  1. Open your terminal or command prompt.

  2. Navigate to the root directory of your project where the .git directory is located.

  3. Check the status of your local repository to see if there are any uncommitted changes that might conflict with the incoming changes. You can do this by running:

    git status
  4. If you have uncommitted changes that you want to keep, you should either commit them or stash them. To commit, use:

    git add .
    git commit -m "Your commit message"

    To stash, use:

    git stash
  5. Now, you can safely pull the remote changes into your local branch by running:

    git pull origin <your_branch_name>

    Replace <your_branch_name> with the name of your current branch. If you're not sure what your current branch is, you can find out by running git branch.

  6. If you had stashed your changes in step 4, you can now apply them back by running:

    git stash pop

After successfully pulling the changes, you should be able to proceed with your Docker Compose setup or any other Git operations you were attempting.

Regarding your question about specific Git workflows or guidelines for the quivr repository, users are advised to follow these steps when pushing changes:

  1. Fork the repository.
  2. Make your changes in a new git branch.
  3. Test your changes.
  4. Commit your changes using descriptive commit messages.
  5. Push your branch to GitHub.
  6. In GitHub, submit a pull request to the original repository.

You can find more details in the Code Contributions section of the repository.

As for Docker Compose setup instructions, I wasn't able to find any specific instructions within the repository. However, the general process should be similar to what you've already attempted. If you continue to encounter issues, please provide more details about the error and I'll do my best to assist you further.

Sources

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@StanGirard
Copy link
Collaborator

Hey my friend, can you try to git pull and rerun the docker compose up ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants