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

Issue on page /content/ioos_installation_conda.html #150

Open
MathewBiddle opened this issue Aug 16, 2023 · 7 comments
Open

Issue on page /content/ioos_installation_conda.html #150

MathewBiddle opened this issue Aug 16, 2023 · 7 comments

Comments

@MathewBiddle
Copy link
Contributor

We should add info about installing git on a local machine. Especially installing when user doesn't have admin privilege's. I'm working on that now and will document my findings for Windows.

@ocefpaf
Copy link
Member

ocefpaf commented Aug 16, 2023

While one can conda install git that would require to always use the conda prompt and activate the env where they installed it, unless they install on the base env.

The other option is git-bash. In a way the first step is similar b/c one must always start from the git-bash.

@MathewBiddle
Copy link
Contributor Author

@MathewBiddle
Copy link
Contributor Author

MathewBiddle commented Aug 16, 2023

I think it would be beneficial to include installing the standalone git-bash. I've walked a few folks through these instructions and git is something I think we're missing. I don't want to overcomplicate the conda env setup with using Git.

@MathewBiddle
Copy link
Contributor Author

My recommendation would be to add a sentence in the Creating conda environment section that says something along the lines of "While the environment is being created, install git following the instructions at https://git-scm.com/book/en/v2/Getting-Started-Installing-Git".

@ocefpaf
Copy link
Member

ocefpaf commented Sep 6, 2023

We got some feedback from git-bash users and conda git in conda-forge. The main complain is that they have two new "terminal icons" one for the AnacondaPrompt and another one for the git-bash, and they still have the vanilla one from Windows. That together confusing activation scripts for each terminal, make installing git from conda at the base environment, an easier option. They users may miss the git functionalities but modern Windows does have the Linux subsystem, making git-bash redundant.

What do you think? Do you use git-bash + conda env regularly on Windows?

@MathewBiddle
Copy link
Contributor Author

Yes, agreed on the multiple terminal windows. I added shortcuts to my taskbar for all the different terminals I use and I've simply memorized which one to use when.

image

My Windows machine does not have the Linux subsystem (or it's not enabled) so I need git-bash if I want a bash like shell.

Only rarely do I use git-bash to do git stuff. Mainly I use pycharm's git integration to manage all those actions through the GUI. But, I think git needs to be installed to make that work.

Conda environment question. If a user installs git from conda in the base environment, would git be available to all other environments?

@ocefpaf
Copy link
Member

ocefpaf commented Sep 6, 2023

would git be available to all other environments?

Yes. Not in the vanilla terminal though.

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

No branches or pull requests

2 participants