정지윤
정지윤

Reputation: 1

The file is not visible even though I changed the branch using Gitflow

I cloned it again and set up Gitflow to change the branch from main to development, but the file is not visible.

After deleting the file, I cloned it again and set up Gitflow again, but it was the same. Can we try again? Or is there another way?

Upvotes: 0

Views: 26

Answers (1)

Farid Ullah
Farid Ullah

Reputation: 69

It sounds like there might be an issue with the cloned repository or Gitflow setup. Try these step,

  1. Check branch: Ensure you're on the correct branch (development) using git branch.
  2. Fetch updates: Run git fetch --all to make sure all branches and files are up to date.
  3. Switch branch: Run git checkout development to ensure you're on the right branch.
  4. Check for untracked files: Run git status to see if the file is untracked or ignored.
  5. Clone again: If needed, delete the local folder, clone the repo again, and repeat the process.

If the issue persists there may be a problem with the repository itself.

Upvotes: 0

Related Questions